Average sentence length |
---|
16.7695 |
sentence length | percentage |
---|---|
2 | 0.0020 |
3 | 0.1830 |
4 | 0.4590 |
5 | 1.1190 |
6 | 1.9950 |
7 | 3.0350 |
8 | 3.8290 |
9 | 4.5260 |
10 | 5.5810 |
11 | 6.0480 |
12 | 6.1220 |
13 | 5.7300 |
14 | 5.6060 |
15 | 5.4520 |
16 | 5.5450 |
17 | 5.1740 |
18 | 4.5410 |
19 | 4.2770 |
20 | 3.7860 |
21 | 3.3400 |
22 | 2.9170 |
23 | 2.5790 |
24 | 2.3750 |
25 | 2.3540 |
26 | 2.3070 |
27 | 1.8070 |
28 | 1.5230 |
29 | 1.2260 |
30 | 1.1080 |
31 | 0.9180 |
32 | 0.8130 |
33 | 0.8150 |
34 | 0.6050 |
35 | 0.5370 |
36 | 0.4240 |
37 | 0.3390 |
38 | 0.2860 |
39 | 0.1970 |
40 | 0.1750 |
41 | 0.1280 |
42 | 0.0910 |
43 | 0.0480 |
44 | 0.0370 |
45 | 0.0220 |
46 | 0.0080 |
47 | 0.0070 |
48 | 0.0020 |
49 | 0.0020 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters